<html>
<head>
    <meta charset="UTF-8">
   
<body>
<?php
require "head.php";
?>

<link href="./assets/css/bootstrap.min.css" rel="stylesheet">
  <script src="./assets/js/jQuery.min.js"></script>
  <script src="./assets/js/bootstrap.min.js"></script>

<div class="row">
  <div class="col-md-12">
 
    <div class="row">
      <div class="col-md-12">
      <h2><font color=red>专栏内容</font></h2>
        <ul class="list-inline row text-center">
        <?php 
      foreach ($data['cartoon_c'] as $row ) {    
      	?>
       
        <li class="col-md-2">
         <div class="movie-image">

          <a href="#"><span class="play"><span class="name">X-MAN</span></span>
          <img src="posters/<?php  echo $row["pic"];?>" class="movie-image" ></div>

          <p><a href="index.php?c=index&m=show&cid=<?php echo $row['cid']; ?>"><?php echo $row["cartoonname"];?></a></p>
        </li>
        <?php 
         }
          ?>
        </ul>
      </div>

    </div>
 <hr>
<div id="footer">
    <p> &copy; 2016 Cartoon ALL BY<a href="http://www.360kan.com/dongman/index.html" target="_blank" title="The Sweetest CSS Templates WorldWide">www.360kan.com/dongman/index.html</a></p>
  </div>
</body>
</head>
</html>